package demo.dao;

import demo.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CourseDao {
    List<Course> findAll();
    Course findByClzno(String cno);
    int add(Course course);
    int up(Course course);
    int del(String cno);
    List<Course> findpage(@Param("curline") int n1, @Param("lines") int n2);
    int findCou();
}
